package com.ztorn.controller;

import com.ztorn.service.WebService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class WebController {

    @Autowired
    private WebService webService;


    @RequestMapping("/getOrderStr")
    @ResponseBody
    public String getOrderStr(){
        return webService.getOrderStr();
    }
}
